﻿using Core.Api.Models.Dtos;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Core.Api.Controllers
{
    /// <summary>
    /// 用户接口
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class CoreUserController : Controller
    {
        /// <summary>
        /// 登入接口
        /// </summary>
        /// <param name="loginDto"></param>
        /// <returns></returns>
        [HttpPost]
        public IActionResult Login([FromBody] LoginDto loginDto)
        {
            return View();
        }

        [HttpPost]
        public IActionResult GetUserInfo()
        {
            return View();
        }

    }
}
